package xiaojian.toolkit.netty.initializer;

import org.springframework.core.io.Resource;

public abstract class SslBaseInitializer extends BaseInitializer {

	// -- ssl
	private boolean useSsl = false;
	private Resource keyStoreResource = null;
	private String password = null;

	public boolean isUseSsl() {
		return useSsl;
	}

	public void setUseSsl(boolean useSsl) {
		this.useSsl = useSsl;
	}

	public Resource getKeyStoreResource() {
		return keyStoreResource;
	}

	public void setKeyStoreResource(Resource sslFile) {
		this.keyStoreResource = sslFile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
